<template>
    <el-container class="channelManage">
        <el-aside width="200px" class="robotAside">
            <el-scrollbar style="height: 100%">
                <menu-list :menuList="menuArr" rootPath="channelManage" />
            </el-scrollbar>
        </el-aside>
        <el-main class="robotMain">
            <router-view :key="$route.path"></router-view>
        </el-main>
    </el-container>
</template>

<script>
import menuList from "@/components/menuList";
export default {
    name: "channelManage",
    data() {
        return {
            menuArr: [
                {
                    name: "渠道管理",
                    menuCode: "M14",
                    children: [
                        // {
                        //     name: "网页渠道",
                        //     path: "/robotChannel/channelManage/web",
                        // },
                        // {
                        //     name: "微信渠道",
                        //     path: "/robotChannel/channelManage/weixin",
                        // },
                        // {
                        //     name: "微信小程序",
                        //     path: "/robotChannel/channelManage/wxapp",
                        // },
                        // {
                        //     name: "APP渠道",
                        //     path: "/robotChannel/channelManage/app",
                        // },
                        // {
                        //     name: "字节小程序",
                        //     path: "/robotChannel/channelManage/zjapp",
                        // },
                        // {
                        //     name: "IVR&语音渠道",
                        //     path: "/robotChannel/channelManage/ivr",
                        // },
                        {
                            name: "API渠道",
                            menuCode: "M39",
                            path: "/channelManage/api",
                        },
                    ],
                },{
                    name: "基础配置",
                    menuCode: "M15",
                    children: [
                        {
                            name: "默认窗口配置",
                            menuCode: "M40",
                            path: "/channelManage/defaultConfig",
                        },
                    ]
                }
            ],
        };
    },
    mounted() { },
    components: {
        menuList,
    },
};
</script>

<style  lang="scss"></style>